<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="br.com.knowledge.persistence.hibernate.dao.CadLinguagemDAO" %>
<%@page import="br.com.knowledge.persistence.hibernate.entities.CadLinguagem" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>Linguagens cadastradas</title>
	</head>

	<body>
		<div style="width:600px;">
			<s:url value="chama-cadlinguagem" var="urlCadastraLinguagem" />
			<a href="${urlCadastraLinguagem}">Cadastrar Linguagem</a><br/><br>
			<display:table list="${linguagens}" uid="linguagens" sort="list" requestURI="${listar-linguagem}" style="width:55%;">
				<display:column property="nmlinguagem" title="Linguagem"></display:column>
				<display:column property="extensoes" title="Extensoes"></display:column>
				<display:column title="" href="toChangeLinguagem" paramId="lingToChange.id" paramProperty="id" style="width:5%;">Alterar</display:column>				
				<display:column title="" href="deletar-linguagem" paramId="lingToChange.id" paramProperty="id" style="width:5%;">Deletar</display:column>
			</display:table>
		</div>
	</body>
</html>